﻿<html>
  <head>
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <meta name="Microsoft.Help.SelfBranded" content="true" />
    <meta name="Language" content="en-us" />
    <meta name="Microsoft.Help.Locale" content="en-us" />
    <meta name="Microsoft.Help.TopicLocale" content="en-us" />
    <link rel="shortcut icon" href="../icons/favicon.ico" />
    <link rel="stylesheet" type="text/css" href="../styles/branding.css" />
    <link rel="stylesheet" type="text/css" href="../styles/branding-en-US.css" />
    <script type="text/javascript" src="../scripts/branding.js"></script>
    <title>PerformanceTimer Methods</title>
    <meta name="Title" content="PerformanceTimer Methods" />
    <meta name="Microsoft.Help.Id" content="Methods.T:SosoMS.Common.SystemHelp.PerformanceTimer" />
    <meta name="Microsoft.Help.ContentType" content="Reference" />
    <meta name="System.Keywords" content="PerformanceTimer class, methods" />
    <meta name="container" content="SosoMS.Common.SystemHelp" />
    <meta name="file" content="c27ef077-cebd-7f58-9cf3-09a2ae504755" />
    <meta name="guid" content="c27ef077-cebd-7f58-9cf3-09a2ae504755" />
    <link rel="stylesheet" type="text/css" href="../styles/branding-Help1.css" />
  </head>
  <body onload="SetDefaultLanguage('cs');">
    <input type="hidden" id="userDataCache" class="userDataStyle" />
    <div id="PageHeader" class="pageHeader">嗖嗖常用方法帮助集</div>
    <div class="pageBody">
      <div id="TopicContent" class="topicContent">
        <table class="titleTable">
          <tr>
            <td class="titleColumn">
              <h1>Performance<wbr />Timer Methods</h1>
            </td>
          </tr>
        </table>
        <p>The <a href="dcbffa21-5512-1002-84d6-ff3dd8d87998.htm">PerformanceTimer</a> type exposes the following members.</p>
        <div class="collapsibleAreaRegion">
          <span class="collapsibleRegionTitle" onclick="SectionExpandCollapse('IDADA')" onkeypress="SectionExpandCollapse_CheckKey('IDADA', event)" tabindex="0">
            <img id="IDADAToggle" class="collapseToggle" src="../icons/SectionExpanded.png" />Methods</span>
        </div>
        <div id="IDADASection" class="collapsibleSection">
          <table id="MethodList" class="members">
            <tr>
              <th class="iconColumn"> </th>
              <th>Name</th>
              <th>Description</th>
            </tr>
            <tr>
              <td>
                <img src="../icons/pubMethod.gif" alt="Public method" title="Public method" />
              </td>
              <td>
                <a href="https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object)" target="_blank" rel="noopener noreferrer">Equals</a>
              </td>
              <td>Determines whether the specified object is equal to the current object.<br />(Inherited from <a href="https://learn.microsoft.com/dotnet/api/system.object" target="_blank" rel="noopener noreferrer">Object</a>)</td>
            </tr>
            <tr>
              <td>
                <img src="../icons/pubMethod.gif" alt="Public method" title="Public method" />
                <img src="../icons/Static.gif" alt="Static member" title="Static member" />
              </td>
              <td>
                <a href="d02d4ea4-69e6-0c42-fd58-9e72cf6beec6.htm">Execute</a>
              </td>
              <td>
            传入一个任务，并计算该任务运行的总时间间隔
            </td>
            </tr>
            <tr>
              <td>
                <img src="../icons/protMethod.gif" alt="Protected method" title="Protected method" />
              </td>
              <td>
                <a href="https://learn.microsoft.com/dotnet/api/system.object.finalize#system-object-finalize" target="_blank" rel="noopener noreferrer">Finalize</a>
              </td>
              <td>Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.<br />(Inherited from <a href="https://learn.microsoft.com/dotnet/api/system.object" target="_blank" rel="noopener noreferrer">Object</a>)</td>
            </tr>
            <tr>
              <td>
                <img src="../icons/pubMethod.gif" alt="Public method" title="Public method" />
              </td>
              <td>
                <a href="https://learn.microsoft.com/dotnet/api/system.object.gethashcode#system-object-gethashcode" target="_blank" rel="noopener noreferrer">GetHashCode</a>
              </td>
              <td>Serves as the default hash function.<br />(Inherited from <a href="https://learn.microsoft.com/dotnet/api/system.object" target="_blank" rel="noopener noreferrer">Object</a>)</td>
            </tr>
            <tr>
              <td>
                <img src="../icons/pubMethod.gif" alt="Public method" title="Public method" />
              </td>
              <td>
                <a href="https://learn.microsoft.com/dotnet/api/system.object.gettype#system-object-gettype" target="_blank" rel="noopener noreferrer">GetType</a>
              </td>
              <td>Gets the <a href="https://learn.microsoft.com/dotnet/api/system.type" target="_blank" rel="noopener noreferrer">Type</a> of the current instance.<br />(Inherited from <a href="https://learn.microsoft.com/dotnet/api/system.object" target="_blank" rel="noopener noreferrer">Object</a>)</td>
            </tr>
            <tr>
              <td>
                <img src="../icons/protMethod.gif" alt="Protected method" title="Protected method" />
              </td>
              <td>
                <a href="https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone#system-object-memberwiseclone" target="_blank" rel="noopener noreferrer">MemberwiseClone</a>
              </td>
              <td>Creates a shallow copy of the current <a href="https://learn.microsoft.com/dotnet/api/system.object" target="_blank" rel="noopener noreferrer">Object</a>.<br />(Inherited from <a href="https://learn.microsoft.com/dotnet/api/system.object" target="_blank" rel="noopener noreferrer">Object</a>)</td>
            </tr>
            <tr>
              <td>
                <img src="../icons/pubMethod.gif" alt="Public method" title="Public method" />
              </td>
              <td>
                <a href="a9dee475-347c-984c-0cd3-6195b90d969e.htm">Restart</a>
              </td>
              <td>
            计时器重新开始计时
            </td>
            </tr>
            <tr>
              <td>
                <img src="../icons/pubMethod.gif" alt="Public method" title="Public method" />
              </td>
              <td>
                <a href="4462f64e-b267-0ef8-ef6a-2465c5b269d6.htm">Start</a>
              </td>
              <td>
            计时器开始计时
            </td>
            </tr>
            <tr>
              <td>
                <img src="../icons/pubMethod.gif" alt="Public method" title="Public method" />
                <img src="../icons/Static.gif" alt="Static member" title="Static member" />
              </td>
              <td>
                <a href="ff47d62c-91ba-1bcb-fc3c-997a8b2c28f4.htm">StartNew</a>
              </td>
              <td>
            获取一个新的计时器，并启动
            </td>
            </tr>
            <tr>
              <td>
                <img src="../icons/pubMethod.gif" alt="Public method" title="Public method" />
              </td>
              <td>
                <a href="4c4da100-194c-6e7f-30e2-c46a3310f4c2.htm">Stop</a>
              </td>
              <td>
            计时器停止计时
            </td>
            </tr>
            <tr>
              <td>
                <img src="../icons/pubMethod.gif" alt="Public method" title="Public method" />
              </td>
              <td>
                <a href="https://learn.microsoft.com/dotnet/api/system.object.tostring#system-object-tostring" target="_blank" rel="noopener noreferrer">ToString</a>
              </td>
              <td>Returns a string that represents the current object.<br />(Inherited from <a href="https://learn.microsoft.com/dotnet/api/system.object" target="_blank" rel="noopener noreferrer">Object</a>)</td>
            </tr>
          </table>
          <a href="#PageHeader">Top</a>
        </div>
        <div class="collapsibleAreaRegion">
          <span class="collapsibleRegionTitle" onclick="SectionExpandCollapse('seeAlso')" onkeypress="SectionExpandCollapse_CheckKey('seeAlso', event)" tabindex="0">
            <img id="seeAlsoToggle" class="collapseToggle" src="../icons/SectionExpanded.png" />See Also</span>
        </div>
        <div id="seeAlsoSection" class="collapsibleSection">
          <h4>Reference</h4>
          <div>
            <a href="dcbffa21-5512-1002-84d6-ff3dd8d87998.htm">PerformanceTimer Class</a>
          </div>
          <div>
            <a href="026ce1e1-007c-0e37-04b4-2e196fe75f90.htm">SosoMS.Common.SystemHelp Namespace</a>
          </div>
        </div>
      </div>
    </div>
    <div id="PageFooter" class="pageFooter" />
  </body>
</html>